package com.woniuxy.exception;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * @Author: linKe
 * @Date: 2021/11/25 8:20
 * @FileName: CustomException
 * @version: 1.0
 * @Description: 自定义异常
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class CustomException extends RuntimeException{
    private String code;
    private String msg;
}
